<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->
<div class="container-fluid">
    <!-- Page Heading -->
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header page-header2">
                服务车地图管理
            </h1>
        </div>
    </div>
    <!-- /.row -->
    <div class="row">
        <div class="col-lg-4 col-md-4">
            <div class="panel panel-green">
                <div class="panel-heading">
                    <div class="row">
                        <div class="col-xs-3">
                            <i class="fa fa-comments fa-5x"></i>
                        </div>
                        <div class="col-xs-9 text-right">
                            <div class="huge">{{readyServiceDevices.length}}</div>
                            <div>等待服务车辆</div>
                        </div>
                    </div>
                </div>
                <a href="" data-toggle="modal" data-target="#DeviceModal" ng-click="onViewDetail('ready')">
                    <div class="panel-footer">
                        <span class="pull-left">查看细节</span>
                        <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <div class="col-lg-4 col-md-4">
            <div class="panel panel-blue">
                <div class="panel-heading">
                    <div class="row">
                        <div class="col-xs-3">
                            <i class="fa fa-comments fa-5x"></i>
                        </div>
                        <div class="col-xs-9 text-right">
                            <div class="huge">{{inServiceDevices.length}}</div>
                            <div>正在服务车辆</div>
                        </div>
                    </div>
                </div>
                <a href="" data-toggle="modal" data-target="#DeviceModal" ng-click="onViewDetail('inservice')">
                    <div class="panel-footer">
                        <span class="pull-left">查看细节</span>
                        <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <div class="col-lg-4 col-md-4">
            <div class="panel panel-red">
                <div class="panel-heading">
                    <div class="row">
                        <div class="col-xs-3">
                            <i class="fa fa-comments fa-5x"></i>
                        </div>
                        <div class="col-xs-9 text-right">
                            <div class="huge">{{stopServiceDevices.length}}</div>
                            <div>停止服务车辆</div>
                        </div>
                    </div>
                </div>
                <a href="" data-toggle="modal" data-target="#DeviceModal" ng-click="onViewDetail('stop')">
                    <div class="panel-footer">
                        <span class="pull-left">查看细节</span>
                        <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                        <div class="clearfix"></div>
                    </div>
                </a>
            </div>
        </div>
        <ng-include src="'app/mvp/template/view/dashboard/form/location_device_list_form.html'"></ng-include>
    </div>
    <!-- /.row -->
    <div class="row">
        <div class="col-sm-12" id="car-map-container-parent">
            <div id="car-map-container"  style="border: 1px solid #999;"></div>
            <div class="row tip-group" ng-if="carList">
                <div class="col-sm-4">
                    <div style="vertical-align:middle; text-align:center;">
                        <div class="tip-item tip-car-item-font tip-item-6">等待服务</div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div style="vertical-align:middle; text-align:center;">
                        <div class="tip-item tip-car-item-font tip-item-1">服务中</div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div style="vertical-align:middle; text-align:center;">
                        <div class="tip-item tip-car-item-font tip-item-5">暂停服务</div>
                    </div>
                </div>
            </div>
            <div class="row tip-group" ng-if="!carList">
                <div class="col-sm-12">
                    <div style="vertical-align:middle; text-align:center;">
                        <div class="tip-item tip-car-item-font tip-item-1">正在搜索服务车定位信息 ...</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /.row -->
</div>